package com.jeesite.modules.dataScreen.web;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.comparator.CompareUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeesite.modules.dataScreen.entity.*;
import com.jeesite.modules.dataScreen.web.vo.GongluVo;
import com.jeesite.modules.dataScreen.web.vo.NameValueVo;
import com.jeesite.modules.dataScreen.web.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.math.BigDecimal;
import java.util.*;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.stream.Collectors;

/**
 * @author: zhaosenlin
 * @date: 2024/5/14 14:08
 */
@RestController
@Api(tags = "公路接口")
@RequestMapping("/gonglu")
@Slf4j
public class Gonglu2Api extends BaseController {

    // @ApiOperation("高速公路突发事件")
    // @GetMapping("gstf")
    // public Result<Page<Tufashijian>> gstf() {
    //     Map<String, Object> fieldMean = new LinkedHashMap<>();
    //     fieldMean.put("title", "公路-公路养护");
    //     GongluVo.K k = new GongluVo.K();
    //     fillDataByTiaoBao(allData(), GongluVo.K.class, k);
    //     return Result.OK(k).apiInfo(fieldMean);
    // }
    //
    // @ApiOperation("国省道突发事件")
    // @GetMapping("gsdtf")
    // public Result<Page<Tufashijian>> gsdtf() {
    //     Map<String, Object> fieldMean = new LinkedHashMap<>();
    //     fieldMean.put("title", "公路-公路养护");
    //     GongluVo.K k = new GongluVo.K();
    //     fillDataByTiaoBao(allData(), GongluVo.K.class, k);
    //     return Result.OK(k).apiInfo(fieldMean);
    // }
}
